-- GENERATED SPELL FOR [Duskhowl Prowler] --


function spell0_27408(pUnit, Event) --@Gore,n/a--
pUnit:FullCastSpellOnTarget(32019,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27408', 15000, 1)
end

function Sorts_27408(pUnit, Event)
local choix_sorts_27408 = math.random(0, 0)
if choix_sorts_27408 == 0 then
pUnit:RegisterEvent('spell0_27408', 1, 1)
end
end

function mob27408_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27408', math.random(1500, 3000), 1)
end

function mob27408_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27408_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27408_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27408, 1, 'mob27408_Action')
RegisterUnitEvent(27408, 2, 'mob27408_Leave')
RegisterUnitEvent(27408, 3, 'mob27408_Kill')
RegisterUnitEvent(27408, 4, 'mob27408_Die')
